import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    isShowNav: true,
    fullpage: null
  },
  mutations: {
    setFullpage(state, fullpage) {
			state.fullpage = fullpage
		},
    isShowNav(state, isShowNav) {
			state.isShowNav = isShowNav
		},
  },
  actions: {
    isShowNav ({ commit }, isShowNav) {
			commit('isShowNav', isShowNav)
		},
  }
})
